In information theory, joint entropy is a measure of the uncertainty associated with a set of random variables.
Definition
The joint
Shannon entropy (in
) of two discrete
random variable and
with images
and
is defined as
where and are particular values of and , respectively, is the joint probability of these values occurring together, and is defined to be 0 if .
For more than two random variables this expands to
-\sum_{x_1 \in\mathcal X_1} ... \sum_{x_n \in\mathcal X_n} P(x_1, ..., x_n) \log_2P(x_1,
where are particular values of , respectively, is the probability of these values occurring together, and is defined to be 0 if .
Properties
Nonnegativity
The joint entropy of a set of random variables is a nonnegative number.
Greater than individual entropies
The joint entropy of a set of variables is greater than or equal to the maximum of all of the individual entropies of the variables in the set.
\Bigl\{ \Eta\bigl(X_i\bigr) \Bigr\}
Less than or equal to the sum of individual entropies
The joint entropy of a set of variables is less than or equal to the sum of the individual entropies of the variables in the set. This is an example of
subadditivity. This inequality is an equality if and only if
and
are statistically independent.
Relations to other entropy measures
Joint entropy is used in the definition of conditional entropy
- ,
and
- .
For two variables and , this means that
- .
Joint entropy is also used in the definition of mutual information
- .
In quantum information theory, the joint entropy is generalized into the joint quantum entropy.
Joint differential entropy
Definition
The above definition is for discrete random variables and just as valid in the case of continuous random variables. The continuous version of discrete joint entropy is called
joint differential (or continuous) entropy. Let
and
be a continuous random variables with a joint probability density function
. The differential joint entropy
is defined as
For more than two continuous random variables the definition is generalized to:
The integral is taken over the support of . It is possible that the integral does not exist in which case we say that the differential entropy is not defined.
Properties
As in the discrete case the joint differential entropy of a set of random variables is smaller or equal than the sum of the entropies of the individual random variables:
The following chain rule holds for two random variables:
In the case of more than two random variables this generalizes to:
Joint differential entropy is also used in the definition of the mutual information between continuous random variables: